package manager;
import board.Board;
public class Manager {
		// constructor
		private boolean gameEnd = false;
		public Manager() {
			this.board=new Board();
			this.board.print();
		}
		// process command
		public boolean isGameEnd(){
			return this.gameEnd;
		}
		public void process(int col){
			if(this.board.getLowestRow(col)<=5){
				this.board.chooseCol(col);
				this.gameEnd = this.board.isGameOver();
			}else{
				this.gameEnd = true;
			}
		}
		public Board getBoard(){return this.board;}
		private Board board;

}
